﻿<!DOCTYPE HTML>
<html>

<head>
<title>Title of the document</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<style>

</style>
</head>

<body>

<div id="d">
	<p id="first" class="aaa">第一个元素</p>
	<p class="second">第二个元素</p>
	<div class="aaa">
		第三个元素
		<p>第三个元素的子元素</p>
	</div>
	<div class="last">last Element</div>
</div>

</body>

</html>

<script type="text/javascript" src="shunter.js"></script>
<script type="text/javascript">

var config = {
    src : "http://www.chanjet.com/?",
    type : "click",
    isConsole:true,
    queryString:{
        "pixels": screen.width + "X" + screen.height,
        "key":"value",
        "element":[
            "id","class"
        ]
    },
    events:[
        {
            type:"click",
            element:document.getElementById("first"),
            handler:function(){
                alert(1);
            }
        }
    ]
};
shunter.config(config);

shunter.start();

</script>
